package com.chat.service;

import com.chat.Local;
import com.chat.common.Message;
import com.chat.common.MessageType;
import com.chat.common.User;

/*
   该类用于获取当前好友的详细信息
 */
public class GetFriendMessage {
      public void getfriendmessage(){
            Message msg=new Message();
            msg.setMesType(MessageType.MESSAGE_GET_FRIEND_MESSAGE);
            msg.setData(Local.friend);
            ClientConnectServerThread clientConnectServerThread=ManageClientConnectServerThread.getClientConnectServerThread(Local.user.getUsername());
            clientConnectServerThread.send(msg);
      }
}
